<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 14-4-28
 * Time: 下午4:45
 */
if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}
/* 全局嵌入点类（必须存在）*/
class plugin_iexam {
	var $value = array(); //初始化返回值变量。
	function global_javascript() {
		$seajs = <<<EOF
<script type="text/javascript" src="static/javascript/sea.js"></script>
<script type="text/javascript" src="static/javascript/seajs-config.js"></script>
<script type="text/javascript">
	var jQ;
	seajs.use(['seajs-control'], function($){
		$(document).seaLoad();
		if(typeof callback == 'function') callback();
		jQ = $.noConflict();
	});
</script>
EOF;
		return $seajs;
	}
}